package org.demos.springaiargdemo1.model.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Builder;
import lombok.Data;

@Data
@Builder
public class ModelPermission {
    
    /**
     * 权限ID
     */
    private String id;
    
    /**
     * 对象类型，固定为 "model_permission"
     */
    private String object;
    
    /**
     * 创建时间戳
     */
    private Long created;
    
    /**
     * 允许创建引擎
     */
    @JsonProperty("allow_create_engine")
    private Boolean allowCreateEngine;
    
    /**
     * 允许采样
     */
    @JsonProperty("allow_sampling")
    private Boolean allowSampling;
    
    /**
     * 允许日志概率
     */
    @JsonProperty("allow_logprobs")
    private Boolean allowLogprobs;
    
    /**
     * 允许搜索索引
     */
    @JsonProperty("allow_search_indices")
    private Boolean allowSearchIndices;
    
    /**
     * 允许查看
     */
    @JsonProperty("allow_view")
    private Boolean allowView;
    
    /**
     * 允许微调
     */
    @JsonProperty("allow_fine_tuning")
    private Boolean allowFineTuning;
    
    /**
     * 组织
     */
    private String organization;
    
    /**
     * 组
     */
    private String group;
    
    /**
     * 是否阻塞
     */
    @JsonProperty("is_blocking")
    private Boolean isBlocking;
} 